package com.nageoffer.shortlink.project.dao.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.nageoffer.shortlink.project.dao.entity.base.BaseDo;
import lombok.*;

import java.util.Date;
/**
 * 访问设备监控持久层
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("t_link_device_stats")
public class LinkDeviceStatsDO extends BaseDo {
    /**
     * 完整短链接
     */
    @TableField("full_short_url")
    private String fullShortUrl;


    /**
     * 日期
     */
    @TableField("date")
    private Date date;

    /**
     * 访问量
     */
    @TableField("cnt")
    private Integer cnt;

    /**
     * 访问设备
     */
    @TableField("device")
    private String device;
}
